GtkDialog: Improve the buildable implementation
authorMatthias Clasen <mclasen@redhat.com>
Thu, 5 Jun 2014 22:04:52 +0000 (18:04 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 5 Jun 2014 22:08:45 +0000 (18:08 -0400)
commitd724175e49ad8fcae6a4f5e5b5144bc250ccdea5
treeb7057af3929d10d5e613e3af35e4f8d28b6d794b
parent85a4b65f11efdad33fc531e7cf78f6106fbf6770
GtkDialog: Improve the buildable implementation

When combining action child type with <action-widgets> to assign
response ids, we were not properly updating buttons that ended up
getting added to the headerbar before they have a response id.
Fix this by reapplying the headerbar button setup after parsing
<action-widgets>, and make sure to also update the suggested-action
style class.
gtk/gtkdialog.c